package com.tcsl.exercise.demo.testDemo;

public class C1 implements I1,I2{
    private int id;
    @Override
    public int getId() {
        return id;
    }
    public void setId(int id){
        this.id = id;
    }


    public static void main(String[] args) {
        I1 c1 = new C1();
        c1.setId(1);
        I2 c2 = new C1();
        c2.setId(2);
        System.out.println(c1.getId()+"====="+c2.getId());
    }
}
